From a46dec176e94cbea226203fc1d7e11e58817cfa6 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 22 Oct 2010 17:03:21 +0200 Subject: [PATCH] gtk: use the new scrollable API to get scroll adjustments --- gtk/gtktoolitemgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c index aa6558a548..2f69c08af8 100644 --- a/gtk/gtktoolitemgroup.c +++ b/gtk/gtktoolitemgroup.c @@ -1083,7 +1083,7 @@ gtk_tool_item_group_set_focus_cb (GtkWidget *window, /* Check that the focused widgets is fully visible within * the group's parent widget and make it visible otherwise. */ - adjustment = gtk_tool_palette_get_vadjustment (GTK_TOOL_PALETTE (p)); + adjustment = gtk_scrollable_get_vadjustment (GTK_SCROLLABLE (p)); if (adjustment) { @@ -1107,7 +1107,7 @@ gtk_tool_item_group_set_focus_cb (GtkWidget *window, } } - adjustment = gtk_tool_palette_get_hadjustment (GTK_TOOL_PALETTE (p)); + adjustment = gtk_scrollable_get_hadjustment (GTK_SCROLLABLE (p)); if (adjustment) { -- 2.30.2